package com.cloudcentral.entity.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Create by WEI
 * 2021-08-23 00:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "基础分页查询条件")
public class PageQuery {
  @Schema(description = "页码", example = "1", defaultValue = "1", requiredMode = Schema.RequiredMode.REQUIRED)
  private int page;
  @Schema(description = "条数", example = "10", defaultValue = "10", requiredMode = Schema.RequiredMode.REQUIRED)
  private int size;
}